package com.example.universitylibraryback.event;

public class HotBookEvent extends LibraryEvent {
    private String bookIsbn;
    private String bookTitle;
    private Integer borrowCount;
    private String hotReason;
    
    public HotBookEvent(String bookIsbn, String bookTitle, Integer borrowCount, String hotReason) {
        super("HOT_BOOK");
        this.bookIsbn = bookIsbn;
        this.bookTitle = bookTitle;
        this.borrowCount = borrowCount;
        this.hotReason = hotReason;
    }
    
    // getters and setters
    public String getBookIsbn() {
        return bookIsbn;
    }
    
    public void setBookIsbn(String bookIsbn) {
        this.bookIsbn = bookIsbn;
    }
    
    public String getBookTitle() {
        return bookTitle;
    }
    
    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle;
    }
    
    public Integer getBorrowCount() {
        return borrowCount;
    }
    
    public void setBorrowCount(Integer borrowCount) {
        this.borrowCount = borrowCount;
    }
    
    public String getHotReason() {
        return hotReason;
    }
    
    public void setHotReason(String hotReason) {
        this.hotReason = hotReason;
    }
}